package com.qihe.reviewj2se;

import java.io.*;

public class TextEx {
	public static void main(String[] args) {
		/*
		try {
			throw new ArrayIndexOutOfBoundsException();
		} catch (ArrayIndexOutOfBoundsException e) {
			System.out.println("index out of bounds!");
		}
		*/
		
		m();
		//m2();
	}
	
	
	public static void m() {
		throw new ArrayIndexOutOfBoundsException();
	}
	
	public static void m2() throws IOException {
		//try {
			throw new IOException();
		//} catch (IOException e) {
			
		//}
	}
	
}

